package cn.bugstack.domain.strategy.service;

import cn.bugstack.domain.strategy.model.valobj.StrategyAwardStockKeyVO;

/*
* 抽奖库存相关服务,获取库存消耗队列
* */
public interface IRaffleStock {
    /*
    * 获取奖品库消耗队列
    * */
    StrategyAwardStockKeyVO takeQueueValue() throws  InterruptedException;

    /*
    * 更新奖品库库存消耗记录
    * */
    void updateStrategyAwardStock(Long strategyId,Integer awardId);

}
